/**
 * 
 */
package com.pkdl.helpers;

import java.util.List;

import com.pkdl.dto.BenhNhanDTO;

/**
 * @author Administrator
 * 
 */
public class Converter {
	public static String[] convertListToArray_BenhNhan(List<BenhNhanDTO> lst) {
		if (lst.size() > 0) {
			String[] arr = new String[lst.size()];
			for (int i = 0; i < lst.size(); i++) {
				arr[i] = String.valueOf(lst.get(i).getMaBenhNhan()) + " - "
						+ lst.get(i).getHoTen().trim();
			}
			return arr;
		}
		return null;
	}
}
